<?php
/**
* $Id: edit_userinfo.php 153 2010-05-05 22:22:48Z bwanglei $
* 修改用户信息
*/

include_once(TEMP_ROOT_PATH.'/header.php');
?>
<div id="content">
	<div id="main">
		<table><form action="<?php echo $_SERVER['PHP_SELF'];?>" method="post">
		<tr><td>用户名：</td><td><?php echo $_SESSION['username'];?>
		<input type="hidden" value="<?php echo $_SESSION['username'];?>" name="username" /></td></tr>
		<tr><td>昵称：</td><td><input type="text" value="<?php echo $_SESSION['nickname'];?>" name="nickname" /></td></tr>
		<tr><td>修改密码：</td><td><input type="password" name="password" /></td></tr>
		<tr><td>电子信箱：</td><td><input type="text" name="email" value="<?php echo $_SESSION['email'];?>" /></td></tr>
		<tr><td>注册日期：</td><td><?php echo date('Y-m-d',$_SESSION['reg_date']);?></td></tr>
		<tr><td colspan="2" align="right"><input type="submit" value="提交修改" /></td></tr>
		</form></table>
	</div>
	<?php include_once(TEMP_ROOT_PATH.'/sidebar.php');?>
</div>
<?php include_once(TEMP_ROOT_PATH.'/footer.php');?>
